.section .rodata, "a"
.global _agp_test_a64_code
.type _agp_test_a64_code, #object
// AARCH64 test code doing board reset using watchdog, for MT6755
.align 8
_agp_test_a64_code:
    .long 0x528e0008 //       mov     w8, #0x7000                     // #28672
    .long 0x72a20008 //       movk    w8, #0x1000, lsl #16
    .long 0x52832e29 //       mov     w9, #0x1971                     // #6513
    .long 0xb9000909 //       str     w9, [x8, #8]
    .long 0xb9400109 //       ldr     w9, [x8]
    .long 0x529ff46a //       mov     w10, #0xffa3                    // #65443
    .long 0x72bbbfea //       movk    w10, #0xddff, lsl #16
    .long 0x5280028b //       mov     w11, #0x14                      // #20
    .long 0x72a4400b //       movk    w11, #0x2200, lsl #16
    .long 0x0a0a0129 //       and     w9, w9, w10
    .long 0x5282412c //       mov     w12, #0x1209                    // #4617
    .long 0x2a0b0129 //       orr     w9, w9, w11
    .long 0xb9000109 //       str     w9, [x8]
    .long 0xb900150c //       str     w12, [x8, #20]
    .long 0x14000000 //       b       38 <_start+0x38>


.size _agp_test_a64_code, . - _agp_test_a64_code
